//
// ScrollLayer
//
// (c)2010 hommebrew.com
//

#import "cocos2d.h"

@interface ScrollLayer : CCLayer
{
	CCLayer *scrollLayer;
	BOOL isDragging;
	CGPoint startPos;
	int nowPage;
	
	float lastX;
	float lastY;
	float xVel;
	float yVel;
	int contentWidth;
	int contentHeight;
	int currentPage;
}

+(id) scene;
- (void) setCurrentPage:(int)page;
- (void) changeContentWidth:(int)w;
- (void) addScrollChild:(CCNode*)n;

@end
